<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="public/home/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="public/home/css/index.css" />
		<link rel="stylesheet" type="text/css" href="public/home/css/shop.css" />
	</head>

	<body>

		<!--顶部-->
		<div id="top">
			<div class="box">
				<p class="t_l">
					<a href="#">时尚商城</a>
				</p>
				<p class="t_lse">
					<a href="#">首尔站</a>
				</p>
				<ul class="t_r">
					<li>
						<a class="col" href="#">登录</a>
					</li>
					<li>
						<a class="col" href="#">注册</a>
					</li>
					<li>|</li>
					<li>
						<a href="#">我的优购</a>
					</li>
					<li>
						<a href="#">我的订单</a>
					</li>
					<li>
						<a href="#">公告</a>
					</li>
					<li>
						<a href="#">更多</a>
					</li>
				</ul>
			</div>
		</div>
		<!--顶部结束-->
		<!--banner-->
		<div id="cen">
			<h1 class="logo">
		    	<a href="" title="">
		    		<img src="images/logo-yg.png" alt="">
		    	</a>
		    </h1>
			<div class="fr cart_step mt20">
				<ul>
					<li class="current">我的购物车<em></em><i></i></li>
					<li>提交订单中心<em></em><i></i></li>
					<li>成功提交订单<em></em><i></i></li>
				</ul>
			</div>
		</div>

		<!--banner结束-->
		<!--收货地址-->
	<form action="<?php echo U('home/orders/index')?>" method="post">
		
		<div class="cen mt30 clearfix">
			<div class="col_hd">
				<h2 class="col_tlt" id="selAddrTitle">请选择您的收货地址</h2>
				<span class="pay_addr_alipay">
	    	  <a class="cart_back_link ml10 cblue undline" href="./index.php?s=home/show/jiesuan">返回购物车</a>
	      </span>
				<span class="col_trt"><a href="" target="_blank" class="cblue">管理收货地址</a></span>
			</div>
			<div id="reciever_list" class="pay_addr reciever_list" style="height: 135px;">
				<dl class="curr" id="">
					<i>&nbsp;</i>
					<p class="actP">
						<a href="javascript:void(0);" title="修改收货地址" id="" name="address_radio_update" class="cblue address_update" uid="<?php echo $_SESSION['id']?>">修改</a>
						|
						<a href="javascript:void(0);" id="" name="address_radio_delete" class="delete cblue" addrid="">删除</a>
					</p>
					<label><input style="display:none" name="addressRadio" addresskey="" addressid="" id="" value="" checked="checked" type="radio"></label>
					<dt>
					<span class="area"><strong><?php echo $userData['address2'][0]?></strong></span>
					(<span class="conName"><?php echo $userData['uname']?></span>&nbsp;收)
				</dt>
					<dd>
						<p><?php echo $userData['address2'][1]?><?php echo $userData['address2'][2]?>&nbsp;<em class="Gray"><?php echo $userData['cellphone']?></em></p>
						<p class="mt5">

							工作日、双休日与假日均可送货

							<!-- 
						
						-->
						</p>
					</dd>
				</dl>
				<dl class="new_addr" id="address_radio_other" style="display: block;">
					<label><input style="display:none" id="other_address_radio" value="new_address" addressid="otherAddress" addresskey="otherAddress" name="addressRadio" type="radio"></label>
					<dd style="text-algin:center"><i>+</i>使用新地址</dd>
				</dl>
			</div>
			<input name="consignee" id="receivingName" value="<?php echo $userData['uname']?>" type="hidden">
			<input name="receivingAddress" id="receivingAddress" value="<?php echo $userData['address']?>" type="hidden">
			<input name="receivingMobilePhone" id="receivingMobilePhone" value="<?php echo $userData['cellphone']?>" type="hidden">
			<p class="blank10"></p>
		</div>

		<!--收货地址结束-->

		<!--支付方式-->
		<div id="paymentContainer" class="mt30 cen">
			<!--付款方式-->
			<div for="payment_1" style="display:none">在线支付<input id="payment_1" name="payment" value="ONLINE_PAYMENT" checked="checked" type="radio"></div>
			<div class="col_hd" id="paymentBank">
				<h2 class="col_tlt">请选择您的付款方式<strong id="webbankpay_tips" class="ml10"></strong></h2>
			</div>
			<div class="mt15"><strong>在线支付</strong>
				<span class="corg">(满99元在线支付免运费)</span>
			</div>
			<!-- 货到付款 -->
			<div>
				<div id="cashOnDelivery_1" class="arrive noArriveDiv clearfix" style="display:none">
					<dl class="arrive">
						<dd>
							<label class="fb"><input class="radio" id="payment_2" name="payment" value="货到付款" type="radio"> 货到付款</label> &nbsp;&nbsp;
							<span class="c9">(每单收取<em class="corg">15元</em>运费)</span>
						</dd>
						<p class="clear"></p>
					</dl>

				</div>
				<div id="cashOnDelivery_2" class="arrive noArriveDiv clearfix">
					<span class="fl rel" style="margin-top:3px;">
          <label class="fb"><input class="radio" id="payment_3" name="payment" type="radio"> <span class="c9">货到付款</span></label>
					</span>
					<div class="fl noArriveTips rel">
						<div style="display: block;" id="noSupportCODMsg_1">
							<span class="c9">抱歉，您所在地区暂不支持货到付款，请选择其他的支付方式</span><br>
						</div>
					</div>
				</div>

				<!--end 不支持支持货到付款情况-->
			</div>
		</div>

		<!--支付方式结束-->

		<!--订单确认-->
		<div class="cen mt30">
			<div class="col_hd" style="border-bottom:none;">
				<h2 class="col_tlt">确认订单信息</h2>
			</div>

			<div class="cart_gray_box order_lst mt10">
				<table id="cart_goods_tb" class="order_goods_tb">
					<colgroup>
						<col width="400">
						<col width="110">
						<col width="130">
						<col width="130">
						<col width="175">
					</colgroup>
					<thead>
						<tr>
							<th>商品名称</th>
							<th>颜色尺码</th>
							<th>单价</th>
							<th>数量</th>
							<th>小计(元)</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td colspan="5">
								<!-- 优购时尚商城开始-->
								<div class="shpcrt_blank10 clearfix"></div>
									<?php foreach ((array)$shopData["goods"] as $k=>$v){?>
								<div id="shopping_cart1" class="shopping_cart_tr ">
									<dl class="clearfix">
										<dt class="col_1 fl rel">
                                                    <a target="_blank" href="">
                                                        <img src="<?php echo $v['pic']?>" class="thumImg" width="60" height="60">
                                                    </a>
                                                </dt>
										<dd class="col_2 fl">
											<a target="_blank" href="" title="" class="shopLink"><?php echo $v['name']?></a><br>
										</dd>
										<dd class="col_3 fl">
											<div class="pl20">
												<?php foreach ((array)$v['options']['com'] as $kk=>$vv){?>
												<p class="cgray tleft"><?php echo $kk?>：<em class="f_gray"><?php echo $vv?></em></p>						<?php }?>
											</div>
										</dd>
										<dd class="col_4 fl rel ">
											<?php echo $v['price']?>

										</dd>
										<dd class="col_5 fl rel">
											<?php echo $v['num']?>
										</dd>
										<dd class="col_6 fl"><strong class="corg"><?php echo $v['total']?></strong></dd>
									</dl>
								</div>
								<?php }?>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="ygtjzx_ttl clearfix" id="shoppingCartContainer">

					<div class="ygtjzx_ttl_bd fr">
						<table class="ygtjzx_ttl_lrtbl">
							<colgroup>
								<col>
								<col>
							</colgroup>
							<tbody>
								<tr>
									<th><strong>商品总金额：</strong></th>
									<td><strong class="corg"><?php echo $shopData['zj']?></strong></td>
								</tr>
								<!--<tr>
									<th>运费：</th>
									<td><strong class="corg">15</strong></td>
								</tr>-->
								<tr class="cart_reduce_price">
									<th>满99元在线支付免运费：</th>
									<td><strong>0</strong></td>
								</tr>
								<tr>
									<th><em class="pr25">可获得优购积分：<i><?php echo $shopData['zj']?></i>点</em><strong>应付金额：</strong>
									</th>
									<td><strong class="c9 f16 pr5">¥</strong><strong class="f18 fmTahoma corg" id="u_buyAmount"><?php echo $shopData['zj']?></strong>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div class="mt15 mr40">
					<div class="clearfix tright">
						<p class="fr">
							<a class="cart_back_link cblue undline" href="/order.jhtml">返回购物车</a>
							<button class="cart_submitbtn ml10" type="submit" id="submi21t" name="submi21t">确认，提交订单</button>
						</p>
					</div>
				</div>
			</div>
		</div>
</form>
		<!--订单确认结束-->

		<!--推荐列表-->
		<div id="similar_recommend" class="uc_main mt30" style="display: block;">
			<h3 class="f16 c6 f_yahei">购买了您购物车中商品的顾客还买了</h3>
			<div class="cart_recpro">
				<div class="uc_slide uc_cnlike rel gwcgm">
					<div class="slide_hd">
						<h2></h2></div>
					<div class="slide_bd">

						<div style=" width:950px; overflow:hidden;margin:auto;">
							<div class="slide_bd_c rel" style="height:600px;width:950px;">
								<ul class="uc_hpro_lst abs clearfix ul1 " style="height: 600px; width: 1900px; left: 0px;">
									<li style="position: relative; left: 0px;">
										<div class="hpro_box">
											<div class="pic">
												<a href="" target="_blank">
													<img src="http://i2.ygimg.cn/pics/puma/2016/100449912/100449912_01_s.jpg" alt="PUMA彪马2016新品男子基础系列短袖T恤83891004" width="160" height="160">
												</a>
											</div>
											<p class="title mt5">
												<a href="" target="_blank">PUMA彪马2016新品男子基础系列短袖T恤83891004</a>
											</p>
											<div class="price c9 mt3">
												<p class="price_sc">
													<em class="ygprc">¥<i>149</i></em>
													<del>¥199</del>
												</p>
												<p class="mt15">
													<a href="javascript:;" class="cart_addto_lnk" goodsno="100449912">加入购物车
													</a>
												</p>
											</div>
											<br>
										</div>
									</li>
									<li style="position: relative; left: 0px;">
										<div class="hpro_box">
											<div class="pic">
												<a href="" target="_blank">
													<img src="http://i2.ygimg.cn/pics/puma/2016/100449912/100449912_01_s.jpg" alt="PUMA彪马2016新品男子基础系列短袖T恤83891004" width="160" height="160">
												</a>
											</div>
											<p class="title mt5">
												<a href="" target="_blank">PUMA彪马2016新品男子基础系列短袖T恤83891004</a>
											</p>
											<div class="price c9 mt3">
												<p class="price_sc">
													<em class="ygprc">¥<i>149</i></em>
													<del>¥199</del>
												</p>
												<p class="mt15">
													<a href="javascript:;" class="cart_addto_lnk" goodsno="100449912">加入购物车
													</a>
												</p>
											</div>
											<br>
										</div>
									</li>
									<li style="position: relative; left: 0px;">
										<div class="hpro_box">
											<div class="pic">
												<a href="" target="_blank">
													<img src="http://i2.ygimg.cn/pics/puma/2016/100449912/100449912_01_s.jpg" alt="PUMA彪马2016新品男子基础系列短袖T恤83891004" width="160" height="160">
												</a>
											</div>
											<p class="title mt5">
												<a href="" target="_blank">PUMA彪马2016新品男子基础系列短袖T恤83891004</a>
											</p>
											<div class="price c9 mt3">
												<p class="price_sc">
													<em class="ygprc">¥<i>149</i></em>
													<del>¥199</del>
												</p>
												<p class="mt15">
													<a href="javascript:;" class="cart_addto_lnk" goodsno="100449912">加入购物车
													</a>
												</p>
											</div>
											<br>
										</div>
									</li>
									<li style="position: relative; left: 0px;">
										<div class="hpro_box">
											<div class="pic">
												<a href="" target="_blank">
													<img src="http://i2.ygimg.cn/pics/puma/2016/100449912/100449912_01_s.jpg" alt="PUMA彪马2016新品男子基础系列短袖T恤83891004" width="160" height="160">
												</a>
											</div>
											<p class="title mt5">
												<a href="" target="_blank">PUMA彪马2016新品男子基础系列短袖T恤83891004</a>
											</p>
											<div class="price c9 mt3">
												<p class="price_sc">
													<em class="ygprc">¥<i>149</i></em>
													<del>¥199</del>
												</p>
												<p class="mt15">
													<a href="javascript:;" class="cart_addto_lnk" goodsno="100449912">加入购物车
													</a>
												</p>
											</div>
											<br>
										</div>
									</li>
									<li style="position: relative; left: 0px;">
										<div class="hpro_box">
											<div class="pic">
												<a href="" target="_blank">
													<img src="http://i2.ygimg.cn/pics/puma/2016/100449912/100449912_01_s.jpg" alt="PUMA彪马2016新品男子基础系列短袖T恤83891004" width="160" height="160">
												</a>
											</div>
											<p class="title mt5">
												<a href="" target="_blank">PUMA彪马2016新品男子基础系列短袖T恤83891004</a>
											</p>
											<div class="price c9 mt3">
												<p class="price_sc">
													<em class="ygprc">¥<i>149</i></em>
													<del>¥199</del>
												</p>
												<p class="mt15">
													<a href="javascript:;" class="cart_addto_lnk" goodsno="100449912">加入购物车
													</a>
												</p>
											</div>
											<br>
										</div>
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--推荐列表结束-->

		<!--底部-->
		<div id="foot">
			<div class="box">
				<img src="img/endlogo.gif" />
				<div class="box_r">
					<ul>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li>
							<a href="#">关于优购</a>
						</li>
						<li style="border: none;">
							<a href="#">关于优购</a>
						</li>
					</ul>
					<p>Copyright © 2011-2016 Yougou Technology</p>
				</div>
			</div>
		</div>
		<!--底部结束-->

	</body>

</html>